header {
  border-bottom: solid 5px #16a085;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}
header .navbar {
  display: flex;
  padding: 1rem 0;
  align-items: center;
}
header .navbar .logo {
  color: #16a085;
  font-weight: bold;
  margin-right: 20px;
  font-size: 1.3rem;
}
header .navbar .logo + label {
  display: none;
}
header .navbar .logo + label + input {
  display: none;
}
header .navbar .collapse {
  display: flex;
  flex-grow: 1;
}
header .navbar .collapse .links {
  display: flex;
  margin-right: auto;
}
header .navbar .collapse .links li {
  margin: 0 10px;
}
header .navbar .collapse .links li a {
  color: #777;
  font-weight: bold;
}
header .navbar .collapse .links li a:hover {
  color: #333;
}
header .navbar .collapse .form a {
  border: solid 1px #16a085;
  border-radius: .3rem;
  padding: .3rem 1rem;
  color: #16a085;
}
header .navbar .collapse .form a.form-bg {
  background: #16a085;
  color: white;
}
@media only screen and (max-width: 960px) {
  header .navbar {
    flex-flow: row wrap;
  }
  header .navbar .logo {
    margin-right: auto;
  }
  header .navbar .logo + label {
    display: block;
    border: solid 1px #ddd;
    padding: .5rem 1rem;
    color: #555;
    cursor: pointer;
  }
  header .navbar .logo + label + input:checked + .collapse {
    display: block;
  }
  header .navbar .collapse {
    display: none;
    flex-flow: column;
    width: 100%;
  }
  header .navbar .collapse .links {
    flex-direction: column;
    margin-bottom: 1.5rem;
  }
  header .navbar .collapse .links li {
    margin: .5rem 0;
  }
}
